<div class="container-fluid">
    <table class="table table-bordered table-striped">
        <thead>
        <tr>
            <th width="50">标题</th>
            <th width="50">操作</th>
        </tr>
        </thead>
        <tbody>
        <?php if (isset($result)) { ?>
            <?php foreach ($result as $item): ?>
                <tr>
                    <td><?php echo $item->title; ?></td>
                    <td>
                        <a href="/admin/adsetting/edit/<?php echo $item->id; ?>"><i class="icon-ok" alt="更新" title="更新"></i></a>&nbsp;&nbsp;&nbsp;
                        <a href="/admin/adsetting/delete/<?php echo $item->id; ?>" class="delete"><i class="icon-remove" alt="删除" title="删除"></i></a>
                    </td>
                </tr>
            <?php endforeach; ?>
        <?php } ?>
        <tr>
            <th width="50">标题</th>
            <th width="50">操作</th>
        </tr>
        </tbody>
        <tfoot>
        <tr>
            <td colspan="20"><?php echo $page->page; ?></td>
        </tr>
        </tfoot>
    </table>
</div>
